package com.mzy.datepackage.M2022.Jun.TenFive;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author mzy
 * @Date 2022/6/15 16:39
 * @Version 1.0
 */
public class demo {
    public static void main(String[] args) {
        String str1 ="v1.0";
        String str2 ="v2.0";
        int i = str1.compareTo(str1);
        System.out.println(i);
    }
}
